package com.bjwl.service.safty;

import java.util.List;

import com.alibaba.fastjson.JSONArray;
import com.bjwl.base.PageParams;
import com.bjwl.model.Role;
import com.bjwl.view.MenuView;
import com.github.pagehelper.PageInfo;


//角色的业务层
public interface RoleService {
	public PageInfo<Role> queryRole(PageParams pageParams);

	public boolean enableRole(Integer ro_id);

	public boolean disableRole(Integer ro_id);

	public boolean addRole(Role role);

	public boolean editRole(Role role);
	
	public List<MenuView> queryModuleAll();
	
	public List<Integer> queryAllRoleById(Integer ro_id);

	public Boolean updateRoleRight(Integer ro_id, List<Integer> roleIdList);
	

}
